import request from '@/utils/request';

enum API {
  lOGIN = 'admin/acl/index/login',
  USERINFO="/admin/acl/index/info",
  LOGOUT="/admin/acl/index/logout"
}
export const reqLogin = (data: any) => request.post(API.lOGIN, data);

export const reqUserInfo =()=>request.get(API.USERINFO)

export const reqLogOut=()=>request.post(API.LOGOUT)